<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

<h1>1. c:out</h1>
<c:out value="${city}" default="无锡" />
<h1>2. c:set</h1>
<c:set value="苏州" var="city" scope="request" />
<c:out value="${city}" default="无锡" />
<h1>3. c:remove</h1>
<c:remove var="city" scope="request" />
<c:out value="${city}" default="无锡" />


<h1>4. c:catch</h1>
<c:catch var="msg">
<%
	int result = 10/0;
%>
</c:catch>
${msg}
</body>
</html>